package com.kof.picviewer.service;

import org.springframework.stereotype.Service;

import java.io.IOException;
import java.util.HashMap;
import java.util.Map;

@Service("baseService")
public class BaseService {
    public Map toLowerCase(String value) throws IOException {
        System.out.println("收到 ：" + value);
        if (null != value) {
            HashMap<Object, Object> map = new HashMap<>();
            map.put("data", value + Math.random() * 10000);
            return map;
        }
        return null;
    }
}
